package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.BigCustomer;
import cn.wolfcode.edu.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BigCustomerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BigCustomer entity);

    BigCustomer selectByPrimaryKey(Long id);

    List<BigCustomer> selectAll();

    int updateByPrimaryKey(BigCustomer entity);

    int queryForCount(QueryObject qo);

    List queryForList(QueryObject qo);

    void fireBigCustomerById(Long id);

    void sign(@Param("id") Long id, @Param("flag") Integer flag);
}